<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./js/vue.global.js"></script>
    <link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div id="app" v-cloak>
    <div class="content">
        <div class="left">
            <div class="leftTop"></div>
            <div class="leftBottom"></div>
        </div>
        <div class="right">
            <div class="rightTop"></div>
            <div class="rightContent"></div>
            <div class="rightBottom"></div>
        </div>
    </div>
</div>
<script>
  const {createApp, ref} = Vue

  createApp({
    setup() {
      const getBackgroundStyle = (imageUrl) => {
        return {
          'background-image': `url(./img/m${imageUrl}.png)`,
        };
      }
      const itemClick = (item) => {
        window.open(`./${item}.html`, '_self')
      }
      return {
        getBackgroundStyle,
        itemClick,
      }
    }
  }).mount('#app')
</script>
</body>
<style>

</style>
</html>
